/*

BlackRabbit - OpenSource IDE.
@author Edward Sarkisyan (edward.sarkisyan@gmail.com)
Use LGPL (http://www.gnu.org/copyleft/lesser.html)

*/

#ifndef NEWFILEDIALOG_H
#define NEWFILEDIALOG_H

#include <QtGui/QDialog>

namespace Ui {
    class NewFileDialog;
}

class NewFileDialog : public QDialog {
    Q_OBJECT
public:
    NewFileDialog(QWidget *parent = 0);
    ~NewFileDialog();
    QString getFileName();
protected:
    void changeEvent(QEvent *e);

private:
    Ui::NewFileDialog *m_ui;
    QString m_fileName;

private slots:
    void on_addPathBtn_clicked();
    void on_buttonBox_accepted();
};

#endif // NEWFILEDIALOG_H
